Skip to content

#514 AblyRealtime implements Autocloseable#515

Merged
paddybyers merged 1 commit intoably:developfrom
amihaiemil:514
Nov 11, 2019
Merged

#514 AblyRealtime implements Autocloseable#515
paddybyers merged 1 commit intoably:developfrom
amihaiemil:514

Conversation

@amihaiemil
Copy link
Copy Markdown
Contributor

Fixes #514

AblyRealtime now implements Autocloseable and can be used in try-with-resources.

Copy link
Copy Markdown
Member

@paddybyers paddybyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@mattheworiordan
Copy link
Copy Markdown
Member

mattheworiordan commented Nov 6, 2019

LGTM. Should we update tests to reduce noise then where we close explicitly?

@paddybyers
Copy link
Copy Markdown
Member

Should we update tests to reduce noise then where we close explicitly?

I'm not sure we should embark on a wholesale update of existing tests but, as with other style changes, we should use this for new tests, and take the opportunity to update existing code when we're making other changes.

@amihaiemil
Copy link
Copy Markdown
Contributor Author

@paddybyers can you merge this? :D

@paddybyers paddybyers merged commit b3bd021 into ably:develop Nov 11, 2019
@amihaiemil amihaiemil deleted the 514 branch November 12, 2019 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

AblyRealtime should implement Autocloseable

3 participants